import { HashRouter } from "react-router-dom";

import React from "react";
import ReactDOM from "react-dom/client";

import App from "./App";

// 导入网页进度条全局样式，放上面样式可层叠
import "nprogress/nprogress.css";
//导入全局样式
import "@/style/base.scss";
// 关闭进度条底部的圆圈样式
import nProgress from "nprogress";
nProgress.configure({ showSpinner: false });

const root = ReactDOM.createRoot(document.getElementById("root"));

function setup() {
  root.render(
    <HashRouter>
      <App></App>
    </HashRouter>
  );
}

setup();
